package com.taxi.remote;

import com.taxi.response.NumberCodeResponse;
import com.taxi.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Author: aniu
 * @Date: 2023/9/19
 * @ClassName: ServiceVefificationcodeClient
 * @Description: Write class functionality and purpose here.
 * @Version: 1.0
 */
@FeignClient("service-verificationcode")
public interface ServiceVefificationcodeClient {
    @RequestMapping(method = RequestMethod.GET,value = "/numberCode/{size}")
    Result<NumberCodeResponse> getNumberCode(@PathVariable("size") int size);
}
